package com.heu.blood.common.enums;

public enum BloodMatchEnum {
    VERIFY_PASS("PASS", "检测通过"),
    VERIFY_MAIN_FAIL("MAIN_FAIL", "主测结果不通过"),
    VERIFY_PRIMARY_FAIL("PRIMARY_FAIL", "次测结果不通过"),
    VERIFY_MAIN_PRIMARY_FAIL("MAIN_PRIMARY_FAIL", "主测次测结果不通过"),
    MAIN_SIDE_PASS("NO-AGGLUTINATION_NO-HEMOLYSIS", "无凝集_无溶血"),
    BLOOD_MATCH_FAIL("FAIL_MATCHED", "交叉配血失败"),
    BLOOD_MATCH_SUCCESS("SUCCESS_MATCHED", "交叉配血成功");


    private final String code;

    private final String value;

    BloodMatchEnum(String code, String value) {
        this.code = code;
        this.value = value;
    }

    public String code() {
        return code;
    }

    public String value() {
        return value;
    }
}
